<?php
include 'includes.php';


if(isset($_SESSION['user'])) {

$pj = R::load('pjs', $_GET['id']);

R::trash($pj);
}



error_reporting(E_ALL);
$host3 = $_SERVER['HTTP_HOST'];
$uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\');
$extra = 'pj.php';
header("Location: http://" . $host3 . $uri . "/" . $extra);
die();
?>